首页> 外文OA文献 >Linear Time Membership in a Class of Regular Expressions with Interleaving and Counting
【2h】

Linear Time Membership in a Class of Regular Expressions with Interleaving and Counting

机译:一类带交织和计数的正则表达式中的线性时间成员

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The extension of Regular Expressions (REs) with an interleaving (shuffle) operator has been proposed in many occasions, since it would be crucial to deal with unordered data. However, interleaving badly affects the complexity of basic operations, and, expecially, makes membership NPhard [13], which is unacceptable for most uses of REs. REs form the basis of most XML type languages, such as DTDs and XML Schema types, and XDuce types [16, 11]. In this context, the interleaving operator would be a natural addition to the language of REs, as witnessed by the presence of limited forms of interleaving in XSD (the all group), Relax-NG, and SGML, provided that the NPhardness of membership could be avoided. We present here a restricted class of REs with interleaving and counting which admits a linear membership algorithm, and which is expressive enough to cover the vast majority of real-world XML types. We first present an algorithm for membership of a list of words into a RE with interleaving and counting, based on the translation of the RE into a set of constraints. We generalize the approach in order to check membership of XML trees into a class of EDTDs with interleaving and counting, which models the crucial aspects of DTDs and XSD schemas.
机译:在很多场合都提出了使用交织(随机)运算符扩展正则表达式(RE)的方法,因为这对于处理无序数据至关重要。但是,交织会严重影响基本操作的复杂性,特别是使成员资格NPhard [13],这对于RE的大多数使用是不可接受的。 RE构成了大多数XML类型语言的基础,例如DTD和XML Schema类型以及XDuce类型[16,11]。在这种情况下,交织运算符将自然成为RE语言的补充,如XSD(所有组),Relax-NG和SGML中存在有限形式的交织所证明的那样,前提是成员资格的NPhardness可以被避免。在这里,我们介绍一种具有交织和计数功能的RE的受限类,它允许使用线性成员资格算法,并且具有足够的表现力,可以覆盖绝大多数现实世界中的XML类型。我们首先提出一种算法,用于根据RE到一组约束的转换,通过交织和计数将单词列表纳入RE。我们对方法进行了概括,以便通过交织和计数将XML树的成员身份检查到EDTD类中,该模型对DTD和XSD架构的关键方面进行了建模。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号